#pragma once
#include "Epoll.h"
#include "Channel.h"

class Channel;
class Epoll;

class EventLoop
{
public:
    EventLoop();
    ~EventLoop();

    void run();
    Epoll *getEpfd(); 
    void updatechannel(Channel* ch);

private:
    Epoll *epfd_;
};